package com.freecloud.javabasics.design.bridging.message;

/**
 * @Author: maomao
 * @Date: 2020-03-08 21:56
 */
public class UrgencyMessage extends AbstractMessage {

    public UrgencyMessage(IMessage message) {
        super(message);
    }

    @Override
    public void sendMessage(String msg, String toUser){
        msg = "[加急]" + msg;
        super.sendMessage(msg,toUser);
    }
}
